package com.atguigu.gulimall.member.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "gulimall-coupon")
public interface CouponFeignService {


    /**
     * 用于测是OpenFeigh的远程服务调用
     * @return
     */
    @GetMapping("/coupon/coupon/memberCoupons")
    R memberCoupons();
}
